package cn.stylefeng.guns.modular.entity;

import cn.stylefeng.guns.modular.myenum.RoomStatusEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 李宝嘉
 * @Date 2021/12/23 14:32
 */
@EqualsAndHashCode
@Data
@TableName("rooms")
public class Room {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long pid;
    private String name;
    private Integer seatNums;
    private Date openDate;
    private Date closeDate;
    private RoomStatusEnum status;
}
